home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / texts / hsc.lha / hsc / src_docs / examples.hsc < prev    next >
Text File  |  1996-01-29  |  2KB  |  41 lines

  1. <WEBPAGE chapter="hsc - " title="Examples"
  2.     PREV="options.html"
  3.     NEXT="messages.html">
  4.  
  5. <* macro to format an example *>
  6. <$MACRO example EXMP:string>
  7. <DT><CODE><$INSERT TEXT=(exmp)></CODE>
  8. <DD>
  9. </$MACRO>
  10.  
  11. <DL>
  12. <EXAMPLE exmp="hsc FROM hugo.html >NIL:">
  13.     Simly performs a syntax check on <FILE>hugo.html</FILE> and passes
  14.     the output to the null-device.<P>
  15. <EXAMPLE exmp="hsc hugo.html TO t: STATUS=QUIET RPLCENT">
  16.     Same as above, but does not display status messages during conversion.
  17.     A dummy-output is created in the temporary directory
  18.     Additionally, all special characters like "Ü" or "ß" are
  19.     replaced by its entities ("<TT>&Uuml;</TT>" and
  20.     "<TT>&szlig;</TT>").<P>
  21. <EXAMPLE exmp="hsc FROM people/hugo.hsc TO /pub_html/">
  22.     Process subfile <FILE>people/hugo.hsc</FILE>. The current directory is the
  23.     main directory of the project. The HTML-object is created in
  24.     <FILE>/pub_html/people/hugo.hsc</FILE>. All local URIs beginning with ":"
  25.     referenced within
  26.     <FILE>hugo.hsc</FILE> are interpreted as <A HREF="features/absuris.html">
  27.     absolut URIs</A> and are converted to relative path when written to
  28.     the HTML-object.<P>
  29. <EXAMPLE exmp="hsc FROM people/hugo.hsc TO /pub_html/ CHECKURI">
  30.     Same as above. Additionally, all URIs referenced are checked for existence.
  31.     If eg, <FILE>people/hugo.hsc</FILE> references to <FILE>prog/project/thing.hsc</FILE>,
  32.     the file <FILE>/pub_html/project/thing.html</FILE> must exist or an error will
  33.     occure.<BR>
  34.     <STRONG>Note</STRONG>: Also mind that the HSC-source ends with ".hsc", but
  35.     the HTML-object automatically gets the extension ".html". Therefor, all
  36.     references must end with ".html".
  37. </DL>
  38.  
  39. </WEBPAGE>
  40.  
  41.